package com.zxq.uart.controller;

import com.zxq.uart.frame.decoder._13ChargeFillCardRefundResult;
import com.zxq.uart.frame.encoder._13ChargeFillCardRefundCmd;
import com.zxq.uart.result.ResultVO;
import com.zxq.uart.service.impl.PlatformExchange;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class _13ChargeFillCardRefundController extends PlatformExchange<_13ChargeFillCardRefundCmd, _13ChargeFillCardRefundResult> {

    @Override
    public Integer getCmd() {
        return 0x13;
    }

    @PostMapping("exchange/13")
    @Override
    public ResultVO<_13ChargeFillCardRefundResult> exchange(@RequestBody _13ChargeFillCardRefundCmd order) {
        return super.exchange(order);
    }

    @Override
    public _13ChargeFillCardRefundResult getResult() {
        _13ChargeFillCardRefundResult chargeFillCardRefundResult  = new _13ChargeFillCardRefundResult();
        return chargeFillCardRefundResult;
    }

}
